package com.emergency.embackend.vo;

import com.emergency.embackend.entity.ShareComment;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ShareDetailVO {
    private Long id;//主键
    private String title;//标题
    private String content;//文章内容
    private Long userId;//用户id
    private String url;//照片
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date updateTime;
    private String status;//状态
    private Long likeCount;
    private Long viewCount;
    private String icon;
    private String nickName;
    private Long commentCount;
    private List<ShareComment> commentList;
}
